home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / netBoot.new / sun3src / cpu.misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-19  |  1.2 KB  |  37 lines

  1.  
  2. /*    @(#)cpu.misc.h 1.1 86/09/27 SMI    */
  3.  
  4. /*
  5.  * Copyright (c) 1986 by Sun Microsystems, Inc.
  6.  */
  7.  
  8. /*
  9.  * Miscellaneous information about the Sun-3.
  10.  *
  11.  * This file is used for both standalone code (ROM Monitor, 
  12.  * Diagnostics, boot programs, etc) and for the Unix kernel.  IF YOU HAVE
  13.  * TO CHANGE IT to fit your application, MOVE THE CHANGE BACK TO THE PUBLIC
  14.  * COPY, and make sure the change is upward-compatible.  The last thing we 
  15.  * need is seventeen different copies of this file, like we have with the
  16.  * Sun-1 header files.
  17.  */
  18.  
  19.  
  20. /*
  21.  * The on-board ZSCC (Serial Communications Controller) chips are fed with
  22.  * a PCLK (processor clock) value of 4.9152MHz or about 204ns.  (This must
  23.  * be known when calculating time constants for the baud rate generator.)
  24.  */
  25. #define    ZSCC_PCLK    4915200
  26.  
  27.  
  28. /*
  29.  * The Sun-3 architecture uses 68020's which bring out 32 address lines.
  30.  */
  31. #define    ADDR_LEN    8    /* Hex characters for printing addresses */
  32. #define BYTE_LEN    2    /* Hex characters for printing bytes */
  33. #define    WORD_LEN    4    /* Hex characters for printing words */
  34. #define    LONG_LEN    8    /* Hex characters for printing longwords */
  35. #define    EEPROM_SIZE    2048    /* EEPROM size = 2 K bytes */
  36. #define EEPROM_LEN    3    /* Hex characters for EEPROM addresses */
  37.